<?php
/**
 * 活动
 * @author Administrator
 *
 */
namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Loglogin extends Model
{
    protected $table = 'log_login';
    
    protected function getDateFormat()
    {
    	return date(time());
    }


    public function user(){
        return $this->hasOne('App\Models\User','uid','uid');
    }


}
